home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’93
/
Talking Compiler
/
talktest.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-17
|
536b
|
35 lines
/* a comment */
#include <Devices.h>
#include "UMacApp.h"
main() { SysBeep(20); exit(0); }
pizza(int a) { return init_init() + Moof(); }
draw_stooges()
{
int i;
for (i = 1; i < 3; ++i) draw();
}
iinit_init() { int glob = pizza(4); }
subr()
{
ParmBlkPtr paramBlock;
/* Use this everywhere! */
FInitQueue();
PBKillIOSync(paramBlock);
toast_files();
}
toast_files()
{
HParmBlkPtr paramBlock;
SetZone(nil);
PBHOpenDF(paramBlock, 1); PBHOpenRF(paramBlock, 1);
PBHGetVInfoAsync(paramBlock); PBHDeleteAsync(paramBlock);
}